/* ════════════════════════════════════════════════════════════
   Servicloud · Web pública del tenant
   Ultraligera (sin framework CSS). Móvil primero, safe areas.
   ════════════════════════════════════════════════════════════ */
:root {
  --brand: #3D4A2C;
  --brand-ink: #fff;
  --ink: #1D2320;
  --ink-2: #545E58;
  --paper: #FFFFFF;
  --tint: color-mix(in srgb, var(--brand) 7%, white);
  --line: color-mix(in srgb, var(--brand) 16%, #E4E6E3);
  --display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font: 400 17px/1.6 var(--text); color: var(--ink); background: var(--paper); padding-bottom: calc(76px + var(--safe-b)); }
img { max-width: 100%; }
/* Enlaces: color de marca, sin subrayado y sin color de «visitado» (la regla de autor anula el morado del navegador) */
a { color: var(--brand); text-decoration: none; }
a:where(:hover, :focus-visible, :active) { color: color-mix(in srgb, var(--brand) 72%, var(--ink)); }
:where(p, li, .lp-about, .lp-check) > a:where(:not(.lp-btn):not(.lp-link)) { font-weight: 600; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 60%, white); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 9vw, 3.6rem); font-weight: 800; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 600; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 99; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; }
.lp-wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.lp-narrow { max-width: 720px; }
.lp-muted { color: var(--ink-2); }

/* ───── Cabecera ───── */
.lp-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: calc(10px + var(--safe-t)) 20px 10px; background: color-mix(in srgb, white 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin-right: auto; min-width: 0; }
.lp-brand span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-brand img { height: 40px; width: auto; max-width: min(200px, 50vw); object-fit: contain; object-position: left center; }
.lp-brand.has-logo span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lp-menu-btn { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 1.4rem; color: var(--ink); }
.lp-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
.lp-nav.is-open { display: flex; }
.lp-nav a { padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.lp-nav a.lp-btn { border: 0; margin-top: 12px; color: var(--brand-ink); }
@media (min-width: 860px) {
  .lp-menu-btn { display: none; }
  .lp-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 22px; padding: 0; border: 0; background: none; }
  .lp-nav a { border: 0; padding: 6px 0; }
  .lp-nav a.lp-btn { margin: 0; padding: 0 16px; }
}

/* ───── Botones ───── */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); text-decoration: none; font-weight: 600; border: 2px solid var(--brand); font-size: 1rem; cursor: pointer; font-family: var(--text); }
.lp-btn:hover { background: color-mix(in srgb, var(--brand) 85%, black); border-color: color-mix(in srgb, var(--brand) 85%, black); }
.lp-btn-ghost { background: transparent; color: var(--brand); }
.lp-btn-ghost:hover { background: var(--tint); }
.lp-btn-sm { min-height: 40px; font-size: .95rem; }

/* ───── Portada: titular + conversación ───── */
.lp-hero { padding: 40px 0 56px; background: linear-gradient(180deg, var(--tint), white 85%); }
.lp-hero-grid { display: grid; gap: 36px; align-items: center; }
.lp-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 34ch; margin: 0 0 28px; }
.lp-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-ctas .lp-btn { flex: 1 1 auto; }
@media (min-width: 860px) {
  .lp-hero { padding: 80px 0 96px; }
  .lp-hero-grid { grid-template-columns: 1.25fr 1fr; gap: 64px; }
  .lp-ctas .lp-btn { flex: 0 0 auto; }
}
.lp-chat { margin: 0; background: #ECE5DD; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--brand) 55%, black); max-width: 380px; justify-self: center; width: 100%; transform: rotate(1.5deg); }
.lp-chat-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--brand); color: var(--brand-ink); }
.lp-chat-top small { display: block; opacity: .8; font-size: .78rem; }
.lp-chat-av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--brand-ink) 20%, transparent); font-weight: 700; }
.lp-chat-body { padding: 18px 14px 8px; display: flex; flex-direction: column; gap: 10px; }
.lp-msg { margin: 0; max-width: 85%; padding: 9px 12px; border-radius: 12px; background: #fff; font-size: .95rem; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.lp-msg-me { align-self: flex-end; background: #DCF8C6; }
.lp-chat figcaption { padding: 10px 14px 16px; font-size: .82rem; color: #5b6560; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .lp-msg { animation: lp-pop .45s cubic-bezier(.2,.9,.3,1.2) both; }
  .lp-msg:nth-child(2) { animation-delay: .9s; }
}
@keyframes lp-pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }

/* ───── Secciones ───── */
.lp-section { padding: 56px 0; }
.lp-tint { background: var(--tint); }
@media (min-width: 860px) { .lp-section { padding: 88px 0; } }
.lp-about { font-size: 1.1rem; line-height: 1.75; }

/* Catálogo: filas, no tarjetas */
.lp-cat + .lp-cat { margin-top: 36px; }
.lp-items { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.lp-item { display: flex; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.lp-item:last-child { border-bottom: 0; }
.lp-item-main { flex: 1; min-width: 0; }
.lp-item-main p { margin: 2px 0 4px; color: var(--ink-2); font-size: .95rem; }
.lp-meta { display: flex; gap: 12px; font-size: .85rem; color: var(--ink-2); }
.lp-item-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; text-align: right; flex-shrink: 0; }
.lp-price { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lp-link { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--brand); text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; }
.lp-link:hover { background: var(--brand); color: var(--brand-ink); }

/* Pasos: secuencia real, numerada */
.lp-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
.lp-steps li { counter-increment: step; position: relative; padding: 18px 18px 18px 72px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.lp-steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-ink); font-family: var(--display); font-weight: 800; }
.lp-steps strong { display: block; font-family: var(--display); font-size: 1.15rem; }
.lp-steps span { color: var(--ink-2); }
@media (min-width: 860px) { .lp-steps { grid-template-columns: repeat(4, 1fr); } .lp-steps li { padding: 72px 18px 20px; } .lp-steps li::before { top: 18px; } }

/* Contacto */
.lp-contact { display: grid; gap: 32px; }
@media (min-width: 860px) { .lp-contact { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.lp-channels { display: flex; flex-direction: column; gap: 10px; }
.lp-channels a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 500; word-break: break-all; }
.lp-channels a .bi { font-size: 1.3rem; color: var(--brand); }
.lp-form { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.lp-form label { font-weight: 500; font-size: .92rem; margin-top: 8px; }
.lp-form input, .lp-form select, .lp-form textarea { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; min-height: 48px; width: 100%; background: #fff; color: var(--ink); }
.lp-form input:focus, .lp-form select:focus, .lp-form textarea:focus { outline: 2px solid var(--brand); border-color: var(--brand); }
.lp-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .88rem !important; color: var(--ink-2); }
.lp-check input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; accent-color: var(--brand); flex-shrink: 0; }
.lp-form .lp-btn { margin-top: 14px; }
.lp-hp { position: absolute; left: -9999px; }
.lp-sent { display: flex; gap: 14px; padding: 22px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: var(--r); }
.lp-sent .bi { font-size: 1.8rem; color: var(--brand); }
.lp-sent p { margin: 4px 0 0; color: var(--ink-2); }
.alert { padding: 12px 14px; border-radius: 10px; background: #FDECEA; color: #8A1C12; margin-bottom: 12px; display: flex; gap: 8px; }
.alert .btn-close { display: none; }
.lp-h1-sm { font-size: clamp(1.8rem, 6vw, 2.6rem); }

/* Pie y botón flotante */
.lp-footer { padding: 40px 0 24px; background: var(--ink); color: #D8DDD9; }
.lp-footer a { color: #fff; }
.lp-footer a:hover, .lp-footer a:focus-visible { color: color-mix(in srgb, #fff 75%, var(--brand)); }
.lp-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.lp-footer-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .lp-footer-grid { grid-template-columns: 1fr auto; } }
.lp-made { font-size: .82rem; opacity: .7; margin-top: 28px; }
.lp-float { position: fixed; z-index: 30; right: 16px; bottom: calc(16px + var(--safe-b)); display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 20px; border-radius: 999px; background: #25D366; color: #0B3D1E; font-weight: 700; text-decoration: none; box-shadow: 0 12px 28px -8px rgba(0,0,0,.35); }
.lp-float .bi { font-size: 1.5rem; }
@media (min-width: 860px) { body { padding-bottom: 0; } .lp-float span { display: none; } .lp-float { width: 60px; padding: 0; justify-content: center; } }

/* ───── Proyectos (sub-páginas públicas) ───── */
.lp-projects { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.lp-project { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--ink); }
.lp-project strong { font-family: var(--display); font-size: 1.2rem; line-height: 1.2; }
.lp-project span { color: var(--ink-2); font-size: .95rem; }
.lp-project .lp-project-more { margin-top: auto; padding-top: 10px; color: var(--brand); font-weight: 600; }
.lp-project:hover { border-color: var(--brand); color: var(--ink); }
.lp-project-hero { padding-top: 40px; }
.lp-crumb { margin: 0 0 18px; font-size: .95rem; }
.lp-project-state { display: inline-block; font-size: .82rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; background: var(--accent, var(--tint)); color: var(--accent-ink, var(--ink)); margin-bottom: 12px; }

/* ───── Estructuras de la web (las elige el Master Operativo) ───── */
.lp-small { font-size: .85rem; margin-top: 10px; }
.lp-hero-plain { padding-bottom: 24px; }
.lp-hero-img { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.lp-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Catálogo: lista con miniatura */
.lp-item-img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }

/* Catálogo: tarjetas con foto */
.lp-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.lp-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.lp-card-img { aspect-ratio: 4 / 3; background: color-mix(in srgb, var(--brand) 10%, white); display: grid; place-items: center; }
.lp-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-card-img span { font-family: var(--display); font-size: 2.4rem; font-weight: 800; color: color-mix(in srgb, var(--brand) 55%, white); }
.lp-card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.lp-card-body p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.lp-card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

/* Catálogo: carta (nombre ······ precio) */
.lp-menu { list-style: none; padding: 0; margin: 0; }
.lp-menu li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.lp-menu-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.lp-menu-main { flex: 1; min-width: 0; }
.lp-menu-line { display: flex; align-items: baseline; gap: 8px; }
.lp-menu-line strong { font-size: 1.05rem; }
.lp-menu-dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-4px); min-width: 16px; }

/* Tarjeta de socio (Melqart) */
.lp-loyalty { display: grid; gap: 28px; align-items: center; }
@media (min-width: 760px) { .lp-loyalty { grid-template-columns: minmax(240px, 340px) 1fr; } }
.lp-loyalty-card {
  aspect-ratio: 1.586; border-radius: 18px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 55%, var(--accent, #B07A55)));
  color: var(--brand-ink); box-shadow: 0 18px 40px -18px color-mix(in srgb, var(--brand) 70%, transparent); transform: rotate(-3deg);
}
.lp-loyalty-name { font-family: var(--display); font-weight: 800; font-size: 1.25rem; line-height: 1.15; }
.lp-loyalty-pts { align-self: flex-start; background: var(--accent, #fff); color: var(--accent-ink, #1D2320); font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { .lp-loyalty-card { transform: none; } }

/* ───── Portada: imagen detrás de la conversación de WhatsApp ───── */
.lp-hero-visual { position: relative; }
.lp-hero-visual.has-bg { padding: clamp(28px, 6vw, 56px) clamp(16px, 4vw, 40px); min-height: 380px; display: grid; align-items: center; justify-items: center; }
.lp-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r) * 1.4); }
.lp-hero-visual.has-bg::after { content: ""; position: absolute; inset: 0; border-radius: calc(var(--r) * 1.4); background: linear-gradient(160deg, rgb(0 0 0 / .05), rgb(0 0 0 / .32)); pointer-events: none; }
.lp-hero-visual.has-bg .lp-chat { position: relative; z-index: 1; width: min(100%, 360px); box-shadow: 0 24px 48px -16px rgb(0 0 0 / .45); }
.lp-chat-av.has-logo { background: #fff; padding: 3px; overflow: hidden; }
.lp-chat-av.has-logo img { width: 100%; height: 100%; object-fit: contain; }

/* ───── Portada: otras formas de contactar ───── */
.lp-hero-channels { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lp-hero-channels a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; }
.lp-hero-channels a:hover { border-color: var(--brand); color: var(--brand); }

/* ───── Cabecera: todos los canales ───── */
.lp-nav-ctas { display: inline-flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 900px) and (max-width: 1180px) { .lp-nav-ctas .lp-btn-ghost .lp-cta-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* ───── Botón flotante con varios canales ───── */
.lp-fab { position: fixed; right: 16px; bottom: calc(16px + var(--safe-b, 0px)); z-index: 40; }
.lp-fab summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 700; cursor: pointer; box-shadow: 0 12px 28px -10px rgb(0 0 0 / .45); }
.lp-fab summary::-webkit-details-marker { display: none; }
.lp-fab summary:focus-visible { outline: 3px solid var(--accent, #B07A55); outline-offset: 3px; }
.lp-fab ul { list-style: none; margin: 0 0 10px; padding: 6px; position: absolute; right: 0; bottom: 100%; min-width: 200px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px -12px rgb(0 0 0 / .35); }
.lp-fab li a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.lp-fab li a:hover, .lp-fab li a:focus-visible { background: var(--tint); }
.lp-fab li i { font-size: 1.15rem; }
.lp-fab-whatsapp { color: #1FA855; } .lp-fab-telegram { color: #229ED9; } .lp-fab-phone, .lp-fab-email { color: var(--brand); }
.lp-float:not([href^="https://wa.me"]) { background: var(--brand); color: var(--brand-ink); }
/* Botones secundarios de la cabecera: texto en el color de marca (el regla general los dejaba en blanco sobre transparente) */
.lp-nav a.lp-btn.lp-btn-ghost { color: var(--brand); background: var(--paper, #fff); box-shadow: inset 0 0 0 1px var(--line); }
.lp-nav a.lp-btn.lp-btn-ghost:hover { background: var(--tint); }
@media (max-width: 899.98px) { .lp-nav-ctas { display: flex; gap: 8px; margin-top: 12px; } .lp-nav-ctas a.lp-btn { margin-top: 0; flex: 1 1 auto; justify-content: center; } }

/* ════════ Conversaciones (CTA visual): WhatsApp, Telegram, Instagram, email, llamada, formulario ════════ */
.lp-conv { display: block; width: min(100%, 380px); justify-self: center; color: inherit; text-decoration: none; border-radius: 22px; transition: transform .2s ease; position: relative; z-index: 1; }
.lp-conv:hover { transform: translateY(-3px); }
.lp-conv:focus-visible { outline: 3px solid var(--accent, #B07A55); outline-offset: 6px; }
.lp-conv .lp-chat { max-width: none; }
.lp-hero-visual.has-bg .lp-conv > figure { box-shadow: 0 24px 48px -16px rgb(0 0 0 / .5); }
.lp-chat-top { position: relative; }
.lp-chat-brand { margin-left: auto; font-size: 1.3rem; opacity: .9; }
/* Telegram */
.lp-chat-telegram { background: #DCE8D2; }
.lp-chat-telegram .lp-chat-top { background: #2AABEE; color: #fff; }
.lp-chat-telegram .lp-msg-me { background: #EEFFDE; }
/* Instagram (mensaje directo) */
.lp-chat-instagram { background: #fff; }
.lp-chat-instagram .lp-chat-top { background: #fff; color: #111; border-bottom: 1px solid #eee; }
.lp-chat-instagram .lp-chat-top small { color: #737373; }
.lp-chat-instagram .lp-chat-av { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #DD2A7B; }
.lp-chat-instagram .lp-chat-brand { color: #DD2A7B; }
.lp-chat-instagram .lp-msg { background: #EFEFEF; color: #111; border-radius: 18px; }
.lp-chat-instagram .lp-msg-me { background: linear-gradient(135deg, #7F37C9, #DD2A7B); color: #fff; }
.lp-chat-instagram figcaption { color: #737373; }
/* Email */
.lp-mail { margin: 0; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--brand) 55%, black); transform: rotate(-1deg); }
.lp-mail-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F3F4F6; font-size: .85rem; }
.lp-mail-bar span { width: 10px; height: 10px; border-radius: 50%; background: #D1D5DB; }
.lp-mail-bar span:nth-child(1) { background: #F87171; } .lp-mail-bar span:nth-child(2) { background: #FBBF24; } .lp-mail-bar span:nth-child(3) { background: #34D399; }
.lp-mail-bar strong { margin-left: 8px; font-weight: 600; }
.lp-mail-fields { margin: 0; padding: 4px 16px; font-size: .88rem; }
.lp-mail-fields div { display: flex; gap: 10px; padding: 7px 0; border-bottom: 1px solid #F0F0F0; }
.lp-mail-fields dt { color: #6B7280; font-weight: 400; min-width: 52px; }
.lp-mail-fields dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }
.lp-mail-body { margin: 0; padding: 14px 16px 6px; }
.lp-mail-reply { display: flex; gap: 10px; align-items: flex-start; margin: 10px 16px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 8%, white); font-size: .92rem; }
.lp-mail-reply p { margin: 0; }
.lp-mail-send { margin: 4px 16px 0; display: inline-flex; gap: 6px; align-items: center; padding: 8px 16px; border-radius: 999px; background: var(--brand); color: var(--brand-ink); font-weight: 700; font-size: .9rem; }
.lp-mail figcaption, .lp-call figcaption, .lp-qform figcaption { padding: 10px 16px 14px; font-size: .82rem; color: var(--ink-2); }
/* Llamada entrante */
.lp-call { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 26px 22px 6px; border-radius: 28px; background: linear-gradient(170deg, #1F2937, color-mix(in srgb, var(--brand) 60%, #111827)); color: #fff; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7); transform: rotate(1deg); }
.lp-call-label { font-size: .8rem; letter-spacing: .02em; color: rgb(255 255 255 / .7); }
.lp-call-av { width: 78px; height: 78px; margin: 10px 0 6px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .14); font-family: var(--display); font-weight: 800; font-size: 1.6rem; overflow: hidden; }
.lp-call-av.has-logo { background: #fff; padding: 8px; }
.lp-call-av img { width: 100%; height: 100%; object-fit: contain; }
.lp-call-name { font-family: var(--display); font-size: 1.35rem; }
.lp-call-num { color: rgb(255 255 255 / .75); font-variant-numeric: tabular-nums; }
.lp-call-msg { margin: 12px 0 4px; font-size: .95rem; color: rgb(255 255 255 / .9); }
.lp-call-btns { display: flex; gap: 46px; margin: 12px 0 6px; }
.lp-call-btns span { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; }
.lp-call-no { background: #EF4444; } .lp-call-yes { background: #22C55E; animation: lp-ring 1.6s ease-in-out infinite; }
.lp-call figcaption { color: rgb(255 255 255 / .7); }
@keyframes lp-ring { 0%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } 50% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) { .lp-call-yes { animation: none; } .lp-conv:hover { transform: none; } }
/* Formulario rápido */
.lp-qform { margin: 0; background: #fff; border-radius: 18px; border: 1px solid var(--line); padding: 16px 0 0; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--brand) 55%, black); }
.lp-qform-head { display: flex; align-items: center; gap: 10px; padding: 0 16px 10px; }
.lp-qform-field { margin: 0 16px 10px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; }
.lp-qform-field span { display: block; font-size: .75rem; color: var(--ink-2); }
.lp-qform-field b { font-weight: 500; }
.lp-qform-btn { margin: 0 16px; padding: 10px; border-radius: 10px; background: var(--brand); color: var(--brand-ink); text-align: center; font-weight: 700; }
.lp-qform-ok { margin: 10px 16px 0; padding: 8px 12px; border-radius: 10px; background: #ECFDF3; color: #166534; font-size: .9rem; }

/* ════════ Secciones nuevas ════════ */
.lp-intro { max-width: 62ch; margin: -6px 0 22px; color: var(--ink-2); font-size: 1.05rem; }
.lp-cta-block { display: grid; gap: 30px; align-items: center; }
@media (min-width: 860px) { .lp-cta-block { grid-template-columns: 1fr minmax(300px, 380px); } }
.lp-socials { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lp-socials a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-weight: 600; text-decoration: none; }
.lp-socials a:hover { border-color: var(--brand); color: var(--brand); }
.lp-socials i { font-size: 1.25rem; }
.lp-footer-social { list-style: none; padding: 0; margin: 10px 0 0; display: flex; gap: 8px; }
.lp-footer-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .08); color: inherit; font-size: 1.1rem; }
.lp-footer-social a:hover { background: rgb(255 255 255 / .18); }
.lp-step-n { position: absolute; right: 18px; top: 18px; color: var(--brand); font-size: 1.3rem; opacity: .85; }

/* ════════ Portada con imágenes de fondo bajo el titular ════════ */
.lp-hero-cover { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end;
  min-height: clamp(460px, 82svh, 820px); padding: 120px 0 56px; background: #1A1D22; color: #fff; }
@media (min-width: 860px) { .lp-hero-cover { align-items: center; padding: 96px 0; } }
.lp-cover-media { position: absolute; inset: 0; z-index: -2; }
.lp-cover-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-focus-center .lp-cover-img { object-position: 50% 50%; }
.lp-focus-top .lp-cover-img { object-position: 50% 15%; }
.lp-focus-bottom .lp-cover-img { object-position: 50% 85%; }
/* Velo: degradado más denso donde está el texto (abajo en móvil, a la izquierda en escritorio) */
.lp-hero-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, rgb(10 12 16 / var(--veil-b)) 0%, rgb(10 12 16 / var(--veil-t)) 75%); }
@media (min-width: 860px) {
  .lp-hero-cover::before { background: linear-gradient(90deg, rgb(10 12 16 / var(--veil-b)) 0%, rgb(10 12 16 / var(--veil-t)) 85%); }
}
.lp-veil-soft   { --veil-b: .55; --veil-t: .10; }
.lp-veil-medium { --veil-b: .72; --veil-t: .28; }
.lp-veil-strong { --veil-b: .86; --veil-t: .55; }
.lp-hero-cover .lp-hero-text { position: relative; }
/* El bloque de texto ocupa el ancho normal de la web, alineado a la izquierda y con aire en los bordes */
.lp-hero-cover .lp-wrap.lp-narrow { max-width: 1120px; }
.lp-hero-cover .lp-hero-text > div { max-width: 680px; }
.lp-hero-cover h1 { color: #fff; text-shadow: 0 2px 24px rgb(0 0 0 / .35); }
.lp-hero-cover .lp-lead { color: rgb(255 255 255 / .9); text-shadow: 0 1px 12px rgb(0 0 0 / .35); }
.lp-hero-cover .lp-btn-ghost { background: rgb(255 255 255 / .12); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .45); backdrop-filter: blur(6px); }
.lp-hero-cover .lp-hero-channels a { background: rgb(255 255 255 / .12); color: #fff; border-color: rgb(255 255 255 / .35); backdrop-filter: blur(6px); }
.lp-hero-cover .lp-hero-channels a:hover { background: rgb(255 255 255 / .22); color: #fff; }
/* Varias imágenes: fundido cruzado lento (6 s por imagen). La primera arranca ya visible
   (retardo negativo = salta la fase de aparición), así no hay flash oscuro al cargar. */
.lp-cover-n2 .lp-cover-img, .lp-cover-n3 .lp-cover-img { opacity: 0; animation: lp-cover-fade3 18s linear infinite; }
.lp-cover-n2 .lp-cover-img { animation-name: lp-cover-fade2; animation-duration: 12s; }
.lp-cover-n2 .lp-cover-img:nth-child(1), .lp-cover-n3 .lp-cover-img:nth-child(1) { animation-delay: -1.5s; }
.lp-cover-n2 .lp-cover-img:nth-child(2), .lp-cover-n3 .lp-cover-img:nth-child(2) { animation-delay: 4.5s; }
.lp-cover-n3 .lp-cover-img:nth-child(3) { animation-delay: 10.5s; }
@keyframes lp-cover-fade3 { 0% { opacity: 0; } 8% { opacity: 1; } 33% { opacity: 1; } 42% { opacity: 0; } 100% { opacity: 0; } }
@keyframes lp-cover-fade2 { 0% { opacity: 0; } 12% { opacity: 1; } 50% { opacity: 1; } 62% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .lp-cover-n2 .lp-cover-img, .lp-cover-n3 .lp-cover-img { animation: none; opacity: 0; }
  .lp-cover-n2 .lp-cover-img:first-child, .lp-cover-n3 .lp-cover-img:first-child { opacity: 1; }
}

/* Pie: Powered by STEMMA */
.lp-powered { display: inline-flex; align-items: center; gap: 5px; color: inherit; text-decoration: none; white-space: nowrap; }
.lp-powered img { width: 14px; height: 14px; }
.lp-powered strong { font-weight: 700; letter-spacing: .06em; }
.lp-powered:hover strong { text-decoration: underline; }
