/* Lanzate Studio — estilos propios (se suman a styles.css, compartido con Lanzate Ads) */
.brand-ads { font-size: 14px; }
.hv-phone { overflow: hidden; }
.hv-phone img { object-position: top; }
a.hv-phone { transition: transform .5s cubic-bezier(.22,1,.36,1); }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 30px 26px; border-radius: 24px; background: var(--white); border: 1px solid var(--line); text-decoration: none; transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s cubic-bezier(.22,1,.36,1), border-color .3s ease; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--violet); }
.service h3 { font-size: 1.45rem; }
.service p { color: var(--muted); font-size: 15px; }
.service ul { display: grid; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.service li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: var(--violet-soft); color: var(--violet); font-size: 11px; }
.service-link { margin-top: auto; padding-top: 12px; font-weight: 700; font-size: 14px; color: var(--violet); }
.service:first-child .format-icon { background: var(--lime); color: var(--ink); }
.service:nth-child(3) .format-icon { background: var(--violet-soft); color: var(--violet); }

/* Controles segmentados */
.seg { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.seg button, .seg-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: 999px; background: transparent; color: #dcd6ff; font: 600 13.5px/1.2 var(--body); cursor: pointer; transition: background .3s ease, color .3s ease, transform .35s cubic-bezier(.22,1,.36,1); }
.seg button[aria-pressed="true"] { background: var(--lime); color: var(--ink); }
.seg button:active, .seg-toggle:active { transform: scale(.96); }
.seg-toggle { border: 1px solid rgba(255, 255, 255, .18); }
.seg-toggle[aria-pressed="true"] { background: #fff; color: var(--ink); }
.seg-light { background: var(--white); border-color: var(--line); }
.seg-light button { color: var(--muted); }
.seg-light button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Email */
.mail-tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.mail-tabs { margin: 0; }
.section-dark .display-tab { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); color: #e4e5f3; }
.section-dark .display-tab small { color: #9ea2c2; font-weight: 500; }
.section-dark .display-tab[aria-selected="true"] { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.section-dark .display-tab[aria-selected="true"] small { color: rgba(14, 17, 48, .88); }
.mail-controls { display: flex; flex-wrap: wrap; gap: 10px; }
.mail-stage { display: flex; justify-content: center; }
.mail-client { width: min(100%, 860px); border-radius: 18px; background: #fff; color: var(--ink); overflow: hidden; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7); transition: width .6s cubic-bezier(.22,1,.36,1), border-radius .6s ease, background .4s ease, color .4s ease; }
.mail-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f1f0ec; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); transition: background .4s ease, border-color .4s ease; }
.mail-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.mail-bar span:nth-child(2) { background: #febc2e; }
.mail-bar span:nth-child(3) { background: #28c840; }
.mail-bar b { margin-left: 10px; font-weight: 600; }
.mail-head { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-bottom: 1px solid var(--line); transition: border-color .4s ease; }
.mail-av { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--violet); color: #fff; font-weight: 800; }
.mail-head strong { font-size: 15px; }
.mail-head p { margin-top: 2px; font-weight: 700; font-size: 15.5px; }
.mail-head small { display: block; margin-top: 2px; color: var(--muted); font-size: 13.5px; }
.mail-body { max-height: 680px; overflow: auto; overscroll-behavior: contain; background: #fafafa; transition: background .4s ease; }
.mail-body iframe { display: block; width: 100%; height: 900px; border: 0; transition: opacity .35s ease; }
.mail-client.is-loading iframe { opacity: .25; }
.mail-client.is-mobile { width: 390px; max-width: 100%; border-radius: 40px; padding: 10px; background: linear-gradient(160deg, #3b3d55, #12131f 40%, #2a2b3e); }
.mail-client.is-mobile .mail-bar { display: none; }
.mail-client.is-mobile .mail-head { border-radius: 30px 30px 0 0; background: #fff; padding: 26px 18px 14px; }
.mail-client.is-mobile .mail-body { border-radius: 0 0 30px 30px; max-height: 620px; }
.mail-client.is-dark .mail-bar { background: #1f1f24; border-color: #2c2c33; }
.mail-client.is-dark, .mail-client.is-dark .mail-head { background: #17171c; color: #f1f1f5; border-color: #2c2c33; }
.mail-client.is-dark .mail-head small { color: #9a9aa8; }
.mail-client.is-dark .mail-body { background: #0f0f13; }
.mail-client.is-dark.is-mobile { background: linear-gradient(160deg, #3b3d55, #12131f 40%, #2a2b3e); }
.mail-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.mail-proof h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 1.05rem; }
.mail-proof h3 i { color: var(--lime); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; font-weight: 600; color: #e4e5f3; }
.chips-light { margin-top: 22px; justify-content: center; }
.chips-light li { background: var(--white); border-color: var(--line); color: var(--ink-2); }

/* Ventana de navegador: separa la landing del fondo de la sección */
.browser { overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 28px 60px -36px rgba(14, 17, 48, .45); }
.browser-bar { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 14px; background: #eceae4; border-bottom: 1px solid var(--line); }
.browser-bar > span { flex: none; width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser-bar > span:nth-child(2) { background: #febc2e; }
.browser-bar > span:nth-child(3) { background: #28c840; }
.browser-url { flex: 1; min-width: 0; margin-left: 8px; padding: 6px 12px; overflow: hidden; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font: 600 12px/1.2 var(--body); text-align: center; white-space: nowrap; text-overflow: ellipsis; }

/* Comparador */
.compare-box { position: relative; overflow: hidden; border-radius: 0; background: #fff; box-shadow: none; user-select: none; }
.compare-code { position: absolute; left: 0; top: 0; width: 1280px; height: 820px; transform-origin: 0 0; background: #fff; }
.code-bar { display: flex; justify-content: space-between; align-items: center; height: 34px; padding: 0 16px; background: var(--ink); color: #e4e5f3; font: 700 12px/1 var(--body); }
.code-bar span { color: var(--lime); font-weight: 600; }
.compare-code iframe { display: block; width: 1280px; height: 786px; border: 0; pointer-events: none; }
.compare-design { position: absolute; inset: 0; z-index: 2; clip-path: inset(0 50% 0 0); will-change: clip-path; }
.compare-design img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.compare-handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--lime); box-shadow: 0 0 0 1px rgba(14, 17, 48, .25); pointer-events: none; }
.compare-handle span { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; translate: -50% -50%; border-radius: 50%; background: var(--lime); color: var(--ink); font-size: 14px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .5); }
.compare-tag { position: absolute; z-index: 3; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(14, 17, 48, .82); color: #fff; font-size: 12px; font-weight: 700; pointer-events: none; }
.compare-tag-l { left: 14px; }
.compare-tag-r { right: 14px; background: var(--violet); }
.compare-range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }

/* En vivo */
.live { margin-top: 56px; }
.live-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.live-head h3 { font-size: 1.5rem; }
.live-stage { position: relative; display: flex; justify-content: center; overflow: hidden; border-radius: 22px; background: #e4e0f6; transition: height .6s cubic-bezier(.22,1,.36,1); }
.live-frame { position: absolute; top: 0; left: 50%; translate: -50% 0; transform-origin: 50% 0; background: transparent; transition: width .6s cubic-bezier(.22,1,.36,1), height .6s cubic-bezier(.22,1,.36,1); }
.live-device { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 16px; clip-path: inset(0 round 16px); background: #fff; box-shadow: 0 18px 40px -24px rgba(14, 17, 48, .4); }
.live-device .browser-bar { flex: none; }
.live-screen { flex: 1 1 auto; min-height: 0; overflow: hidden; border-radius: 0 0 16px 16px; clip-path: inset(0 round 0 0 16px 16px); }
.live-screen iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: inherit; }
.live-stage.is-phone .browser-bar,
.live-stage.is-tablet .browser-bar { display: none; }
.live-stage.is-phone .live-device,
.live-stage.is-tablet .live-device { background: #1c1d2b; box-shadow: 0 24px 50px -28px rgba(0, 0, 0, .55); }
.live-stage.is-tablet .live-device { padding: 16px 14px; border-radius: 28px; clip-path: inset(0 round 28px); }
.live-stage.is-tablet .live-screen { border-radius: 14px; clip-path: inset(0 round 14px); }
.live-stage.is-phone .live-device { padding: 14px 12px; border-radius: 36px; clip-path: inset(0 round 36px); }
.live-stage.is-phone .live-screen { border-radius: 24px; clip-path: inset(0 round 24px); }

/* Sobre mí */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about-photo { position: relative; aspect-ratio: 6 / 7; border-radius: 32px; overflow: hidden; display: grid; place-items: center; background: radial-gradient(circle at 75% 20%, var(--lime) 0 18%, transparent 19%), linear-gradient(140deg, var(--violet) 0%, #2d1c9e 100%); }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.about-initials { font: 800 clamp(80px, 12vw, 150px)/1 var(--display); color: rgba(255, 255, 255, .92); letter-spacing: -.04em; }
.about-copy h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); font-weight: 800; }
.about-copy > p:not(.kicker) { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }
.about-facts { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.about-facts li { display: flex; align-items: center; gap: 12px; }
.about-facts i { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--violet-soft); color: var(--violet); font-size: 17px; }
.btn-ghost { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

@media (max-width: 1080px) {
  .services, .mail-proof { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 360px; }
}
@media (max-width: 600px) {
  .mail-tools { flex-direction: column; align-items: stretch; }
  .mail-controls { justify-content: space-between; }
  .mail-head { padding: 14px; }
  .compare-handle span { width: 36px; height: 36px; }
  .compare-tag { font-size: 11px; bottom: 8px; }
}
