/* Landing pública de pisoflow.com. Mismo lenguaje visual que la demo
   (/demo): fondo menta, tipografía grande y animaciones con el scroll. */

:root {
  --mint: #E6F6F2;
  --green: #1EB08B;
  --green-ink: #062A20;
  --green-dark: #0F7A5E;
  --ink: #1C1C1E;
  --muted: #5B6461;
  --muted-2: #3F4A46;
  --line: #E3E8E6;
  --night: #0F1714;
  --night-muted: #B5C2BD;
  --white: #FFFFFF;
  --header-h: 88px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--green-dark); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px;
  text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--white); }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wrap-mid { max-width: 1040px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; text-decoration: none; font-weight: 800;
  font-size: 16px; padding: 16px 26px; line-height: 1.1;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { font-size: 15px; font-weight: 700; padding: 12px 20px; }
.btn-lg { font-size: 17px; padding: 18px 30px; }
.btn-xl { font-size: 18px; padding: 20px 34px; }
.btn-block { width: 100%; padding: 18px; }
.btn-green { background: var(--green); color: var(--green-ink); }
.btn-green:hover { background: #22c49b; color: var(--green-ink); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); padding-left: 20px; padding-right: 20px; }
.btn-outline-dark { background: transparent; color: var(--white); border: 1px solid #2C3A35; font-weight: 700; }
.btn-outline-dark:hover { border-color: var(--green); color: var(--white); }

.eyebrow { font-size: 14px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark); }
.eyebrow-green { color: var(--green); font-size: 13px; }
.soon {
  font-style: normal; font-size: 12px; font-weight: 800; color: #92400E; background: #FEF3C7;
  padding: 2px 8px; border-radius: 999px; white-space: nowrap; vertical-align: middle;
}

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 rgba(15, 23, 20, .06);
}
.header-inner {
  height: var(--header-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px;
  transition: height .3s ease;
}
.site-header.is-scrolled .header-inner { height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-size: 26px; letter-spacing: -.02em; font-weight: 500; justify-self: start;
}
.brand:hover { color: var(--ink); }
.brand img { height: 34px; width: auto; }
.brand strong { font-weight: 800; }
.brand-light, .brand-light:hover { color: var(--white); font-size: 24px; }
.brand-light img { height: 28px; }

.main-nav { display: flex; gap: 36px; font-size: 16px; font-weight: 600; justify-self: center; }
.main-nav a { text-decoration: none; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.lang-pill { display: inline-flex; background: var(--white); border-radius: 999px; padding: 3px; font-size: 12px; font-weight: 800; box-shadow: 0 0 0 1px rgba(15, 23, 20, .05); }
.lang-pill button { border: 0; background: transparent; padding: 6px 11px; border-radius: 999px; color: #6B7280; font-weight: 800; }
.lang-pill button.is-active { background: var(--green); color: var(--green-ink); }
.header-divider { width: 1px; height: 22px; background: #BFD9D0; }
.login-link { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 600; color: var(--muted-2); text-decoration: none; }

/* Botón de tres rayas y menú a pantalla completa (igual que la demo) */
.menu-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px; border: 0; background: transparent;
}
.menu-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--white);
  display: flex; flex-direction: column; padding: 18px 24px 32px;
  height: 100vh; height: 100dvh; overflow-y: auto;
  visibility: hidden; transform: translateY(-100%);
  transition: transform .45s cubic-bezier(.16, 1, .3, 1), visibility 0s linear .45s;
}
.mobile-menu.is-open { visibility: visible; transform: none; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.mobile-menu-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 18px; border-bottom: 1px solid var(--line);
}
.mobile-menu-head .brand { font-size: 23px; }
.mobile-menu-head .brand img { height: 30px; }
.mobile-menu-tools { display: flex; align-items: center; gap: 12px; }
.mobile-menu-tools .lang-pill { box-shadow: 0 0 0 1px var(--line); }
.menu-close { width: 40px; height: 40px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.menu-close:hover { color: var(--green-dark); }

.mobile-links { list-style: none; margin: 32px 0 auto; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.slide-link {
  position: relative; display: inline-block; overflow: hidden; text-decoration: none;
  font-size: clamp(32px, 9vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.25; color: var(--ink);
}
.slide-link span { display: inline-block; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.slide-link::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%; width: 100%; white-space: nowrap;
  color: var(--green); transition: transform .45s cubic-bezier(.16, 1, .3, 1);
}
.slide-link:hover span, .slide-link:focus-visible span { transform: translateY(-120%); }
.slide-link:hover::after, .slide-link:focus-visible::after { transform: translateY(-100%); }

.mobile-menu-foot { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 24px; margin-top: 32px; border-top: 1px solid var(--line); }
.mobile-menu-foot .btn-block { font-size: 17px; padding: 18px; }
.mobile-login { font-size: 16px; font-weight: 700; text-decoration: none; color: var(--muted-2); }

/* ---------- Portada ---------- */
.hero { background: var(--mint); overflow: hidden; position: relative; padding-top: var(--header-h); }
.hero-copy { padding-top: 72px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--white); border-radius: 999px;
  padding: 8px 16px; font-size: 14px; font-weight: 700; color: var(--muted-2);
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); animation: pfPulse 2s ease-in-out infinite; }
@keyframes pfPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(30, 176, 139, .45); } 50% { box-shadow: 0 0 0 12px rgba(30, 176, 139, 0); } }
.hero-title { margin: 0; font-size: clamp(46px, 7.3vw, 104px); line-height: .98; font-weight: 800; letter-spacing: -.045em; max-width: 1100px; }
.hero-sub { margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: var(--muted); max-width: 680px; }
.hero-sub strong { color: var(--ink); }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; }

.hero-stage { position: relative; max-width: 1240px; margin: 56px auto 0; height: 600px; }
.hero-building {
  position: absolute; left: 50%; bottom: -150px; width: 1100px; max-width: none; transform: translateX(-50%);
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, .14)); z-index: 1;
}

/* Nubes como en la demo: tapan la base del edificio para que no parezca
   recortado y suben con el scroll. Se funden con el blanco de la sección
   siguiente. */
.hero-clouds { position: absolute; left: 0; right: 0; bottom: 0; height: 300px; z-index: 3; pointer-events: none; }
.hero-clouds::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 140px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #FFFFFF 85%);
}
.cloud { position: absolute; max-width: none; height: auto; will-change: transform; }
.cloud-b1 { left: -12%; bottom: -70%; width: 74%; opacity: .95; }
.cloud-b2 { right: -12%; bottom: -76%; width: 74%; opacity: .95; transform: scaleX(-1); }
.cloud-b3 { left: 24%; bottom: -55%; width: 52%; opacity: .85; }
.cloud-side-l { left: -20%; bottom: 10%; width: 40%; opacity: .65; }
.cloud-side-r { right: -20%; bottom: 14%; width: 40%; opacity: .65; transform: scaleX(-1); }

.note {
  position: absolute; z-index: 5; background: var(--white); border-radius: 20px; padding: 16px;
  box-shadow: 0 24px 48px rgba(15, 23, 20, .16); display: flex; gap: 12px; text-align: left;
  opacity: 0; transform: translateY(14px) scale(.96);
  transition: opacity .55s cubic-bezier(.2, .8, .2, 1), transform .55s cubic-bezier(.2, .8, .2, 1);
}
.note.is-on { opacity: 1; transform: none; }
.note-1 { left: 32px; top: 40px; width: 300px; }
.note-2 { right: 32px; top: 10px; width: 300px; }
.note-3 { left: 72px; top: 230px; }
.note-4 { right: 62px; top: 200px; width: 290px; }
.note-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }
.note-icon-wa { background: #25D366; }
.note-icon-pf { background: var(--ink); color: var(--green); font-weight: 800; font-size: 13px; }
.note-text { display: flex; flex-direction: column; gap: 3px; }
.note-text strong { font-size: 14px; }
.note-text span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.note-pill { border-radius: 999px; padding: 12px 20px 12px 12px; align-items: center; gap: 10px; }
.note-pill strong { font-size: 15px; }
.note-check { width: 32px; height: 32px; border-radius: 50%; background: var(--green); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.note-dark { background: var(--ink); color: var(--white); flex-direction: column; gap: 6px; padding: 18px; box-shadow: 0 24px 48px rgba(15, 23, 20, .25); }
.note-dark strong { font-size: 20px; }
.note-dark span:last-child { font-size: 13.5px; color: #C7D0CD; }
.note-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }

/* ---------- Letras que se encienden con el scroll (como la demo) ---------- */
.word-wrap { display: inline-block; white-space: nowrap; }
.char-reveal { display: inline-block; will-change: opacity; }

/* ---------- Frase grande ---------- */
.statement { padding: 140px 0 90px; }
.statement-text { margin: 0; font-size: clamp(30px, 4.1vw, 58px); line-height: 1.12; font-weight: 800; letter-spacing: -.035em; }
.statement-text .muted { color: #C3CEC9; }

/* ---------- Casos ---------- */
.cases { padding-bottom: 140px; }
.h2 { margin: 0 0 40px; font-size: clamp(32px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.cases-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.case { display: flex; flex-direction: column; gap: 16px; }
.case-media { position: relative; height: 460px; border-radius: 28px; overflow: hidden; background: var(--mint); }
.case-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.case:hover .case-media img { transform: scale(1.04); }
.case-num { position: absolute; left: 18px; top: 18px; background: rgba(255, 255, 255, .92); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 800; }
.case-chip {
  position: absolute; left: 18px; right: 18px; bottom: 18px; background: var(--white); border-radius: 16px;
  padding: 12px 14px; font-size: 13.5px; line-height: 1.4; box-shadow: 0 12px 30px rgba(0, 0, 0, .2);
}
.case-chip-dark { background: var(--ink); color: var(--white); }
.case-chip-dark strong { color: var(--green); }
.case h3 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.case p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Tu web ---------- */
.web { background: var(--mint); overflow: hidden; }
.web-inner { padding-top: 130px; padding-bottom: 150px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.h2-xl { margin: 0; font-size: clamp(40px, 5vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -.04em; max-width: 960px; }
.lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 640px; }
.lead-sm { margin: 0; font-size: 18px; line-height: 1.6; color: var(--muted); }

.fan { position: relative; width: 100%; height: 520px; margin-top: 40px; }
.shot { position: absolute; margin: 0; border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: 0 30px 60px rgba(15, 23, 20, .2); }
.shot-bar { height: 30px; background: #F1F4F3; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: #F87171; }
.shot-bar i:nth-child(2) { background: #FBBF24; }
.shot-bar i:nth-child(3) { background: #34D399; }
.shot-bar span { margin-left: 10px; font-size: 11px; font-weight: 700; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shot img { width: 100%; height: auto; }
.shot-left { left: 0; top: 60px; width: 45%; transform: rotate(-6deg); }
.shot-right { right: 0; top: 60px; width: 45%; transform: rotate(6deg); }
.shot-center { left: 50%; top: 0; width: 52%; transform: translateX(-50%); box-shadow: 0 40px 80px rgba(15, 23, 20, .28); z-index: 2; }

.web-bar {
  display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 999px;
  padding: 10px 12px 10px 22px; margin-top: 10px; box-shadow: 0 10px 30px rgba(15, 23, 20, .06);
}
.web-bar > span { font-size: 16px; font-weight: 600; color: var(--muted-2); text-align: left; }
.web-bar strong { color: var(--ink); }

/* ---------- Tour 360 ---------- */
.tour { position: relative; height: 760px; overflow: hidden; background: var(--night); }
.tour-viewer { position: absolute; inset: 0; }
.tour-preview { position: absolute; inset: 0; background: center / cover no-repeat url('/img/landing/tour/salon-preview.webp?v=3'); transition: opacity .6s ease; }
.tour-viewer.is-ready .tour-preview { opacity: 0; pointer-events: none; }
.tour-pano { position: absolute; inset: 0; width: 100%; height: 100%; }
.tour-pano .pnlm-load-box, .tour-pano .pnlm-error-msg { display: none !important; }
.tour-hint {
  position: absolute; left: 32px; top: 32px; z-index: 3; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15, 23, 20, .72); color: var(--white); border-radius: 999px; padding: 10px 16px;
  font-size: 14px; font-weight: 700; pointer-events: none; transition: opacity .4s ease;
}
.tour-hint.is-hidden { opacity: 0; }
.tour-rooms { position: absolute; left: 32px; bottom: 32px; z-index: 3; display: flex; gap: 8px; flex-wrap: wrap; }
.tour-rooms button {
  border: 0; background: var(--white); color: var(--ink); font-size: 14px; font-weight: 700;
  padding: 10px 16px; border-radius: 999px; box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}
.tour-rooms button.is-active { background: var(--green); color: var(--green-ink); font-weight: 800; }

/* Flechas del tour: círculo blanco con flecha y el nombre de la sala debajo */
.pf-hot { width: 54px; height: 54px; margin: -27px 0 0 -27px; cursor: pointer; }
.pf-hot-circle {
  width: 54px; height: 54px; border-radius: 50%; background: var(--white); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
  animation: pfPulse 2s ease-in-out infinite; transition: transform .2s ease;
}
.pf-hot:hover .pf-hot-circle { transform: scale(1.08); }
.pf-hot-label {
  position: absolute; left: 50%; top: 62px; transform: translateX(-50%); white-space: nowrap;
  background: var(--ink); color: var(--white); font-size: 14px; font-weight: 700; padding: 7px 12px; border-radius: 10px;
}

.tour-card {
  position: absolute; right: 32px; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 470px; background: var(--white); border-radius: 28px; padding: 34px;
  display: flex; flex-direction: column; gap: 14px;
}
.tour-card .eyebrow { font-size: 13px; }
.h2-sm { margin: 0; font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; }
.tour-card > p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.tour-alt { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.tour-alt > strong { font-size: 15px; }
.tour-alt-row { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--muted-2); }
.tour-alt-icon { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; background: var(--mint); display: inline-flex; align-items: center; justify-content: center; }

/* ---------- Todo lo demás ---------- */
.more { padding: 130px 0; }
.more-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; }
.more-head { display: flex; flex-direction: column; gap: 16px; }
.h2-lg { margin: 0; font-size: clamp(36px, 3.7vw, 52px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; }
.more-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.more-list > div { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.more-list > div:nth-child(even) { padding: 26px 0 26px 24px; border-left: 1px solid var(--line); }
.more-list h3 { margin: 0 0 6px; font-size: 20px; font-weight: 800; }
.more-list p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }

/* ---------- Precios ---------- */
.pricing { background: var(--mint); padding: 130px 0; }
.pricing-head { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; margin-bottom: 48px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.plan { background: var(--white); border-radius: 32px; padding: 40px; display: flex; flex-direction: column; gap: 20px; }
.plan-dark { background: var(--ink); color: var(--white); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.plan-top h3 { margin: 0; font-size: 24px; font-weight: 800; }
.plan-for { font-size: 14px; color: var(--muted); text-align: right; }
.plan-tag { font-size: 13px; font-weight: 800; background: var(--green); color: var(--green-ink); padding: 6px 12px; border-radius: 999px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .amount { font-size: 64px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-price .per { color: var(--muted); font-size: 17px; }
.plan-dark .plan-price .per { color: var(--night-muted); }
.plan-feats { margin: 0 0 8px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 16px; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; }
.plan-feats li::before {
  content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--mint) center / 11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F7A5E' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}
.plan-dark .plan-feats { color: #E3E9E6; }
.plan-dark .plan-feats li::before { background-color: rgba(30, 176, 139, .2); }
.plan .btn-block { margin-top: auto; }

/* ---------- Web a medida ---------- */
.custom { background: var(--night); color: var(--white); overflow: hidden; }
.custom-grid { padding-top: 130px; padding-bottom: 130px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); gap: 64px; align-items: center; }
.custom-copy { display: flex; flex-direction: column; gap: 20px; }
.custom-copy > p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--night-muted); }
.custom-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.custom-price .amount { font-size: 48px; font-weight: 800; letter-spacing: -.03em; }
.custom-price > span:last-child { font-size: 16px; color: var(--night-muted); }
.custom-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.custom-shot { position: relative; }
.browser { display: block; border-radius: 16px; overflow: hidden; background: var(--white); box-shadow: 0 40px 80px rgba(0, 0, 0, .5); text-decoration: none; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.browser:hover { transform: translateY(-6px); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #EEF1F0; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #F26B5E; }
.browser-bar i:nth-child(2) { background: #F5BE4F; }
.browser-bar i:nth-child(3) { background: #5DC66F; }
.browser-bar span { margin-left: 14px; flex: 1; background: var(--white); border-radius: 8px; padding: 5px 12px; font-size: 12px; font-weight: 600; color: #7E8C87; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.custom-label {
  position: absolute; left: 24px; bottom: -18px; background: var(--white); color: var(--ink); border-radius: 999px;
  padding: 12px 18px; font-size: 14px; font-weight: 800; box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
}

/* ---------- Preguntas ---------- */
.faq { padding: 120px 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 56px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-list summary {
  font-size: 18px; font-weight: 800; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 26px; font-weight: 500; color: var(--green-dark); line-height: 1; transition: transform .25s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* ---------- Cierre ---------- */
.closing { position: relative; height: 640px; overflow: hidden; color: var(--white); }
.closing-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing-shade { position: absolute; inset: 0; background: rgba(8, 14, 12, .55); }
.closing-copy { position: relative; max-width: 1000px; margin: 0 auto; height: 100%; padding: 0 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 28px; }
.h2-closing { margin: 0; font-size: clamp(42px, 5.6vw, 80px); line-height: .98; font-weight: 800; letter-spacing: -.045em; }

/* ---------- Pie ---------- */
.site-footer { background: var(--night); color: var(--night-muted); }
.footer-grid { padding-top: 64px; padding-bottom: 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; font-size: 15px; line-height: 2; }
.footer-brand, .footer-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand .brand { margin-bottom: 6px; }
.footer-col strong { color: var(--white); }
.footer-col a { color: var(--night-muted); text-decoration: none; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { padding-bottom: 32px; font-size: 13px; color: #7E8C87; line-height: 1.6; }
.footer-bottom a { color: inherit; }

/* ---------- Ventana de los 3 estilos ---------- */
.styles-dialog {
  width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border: 0; border-radius: 24px;
  padding: 24px; background: var(--white); color: var(--ink); overflow: auto;
}
.styles-dialog::backdrop { background: rgba(8, 14, 12, .7); backdrop-filter: blur(4px); }
.styles-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; }
.styles-head h2 { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.dialog-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--mint); font-size: 24px; line-height: 1; }
.styles-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.styles-tabs button { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 14px; }
.styles-tabs button.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.styles-img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); }
.styles-note { margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.styles-live { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; font-size: 14px; color: var(--muted); }
.styles-live .btn { text-decoration: none; }
[data-open-style] { cursor: pointer; }

/* ---------- Tablet ---------- */
@media (max-width: 1240px) {
  .main-nav { gap: 24px; font-size: 15px; }
  .header-actions { gap: 14px; }
}

@media (max-width: 1100px) {
  .note-1 { left: 16px; }
  .note-2 { right: 16px; }
  .note-3 { left: 24px; }
  .note-4 { right: 24px; }
  .tour-card { width: 420px; padding: 28px; }
  .h2-sm { font-size: 34px; }
}

@media (max-width: 1060px) {
  .main-nav, .header-divider, .login-link, .header-actions > .btn { display: none; }
  .header-inner { grid-template-columns: auto 1fr; }
  .header-actions { gap: 8px; }
  .menu-toggle { display: flex; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .site-header .header-inner { height: var(--header-h); }
  .site-header.is-scrolled .header-inner { height: 64px; }
  .brand { font-size: 23px; }
  .brand img { height: 30px; }

  .hero-copy { padding-top: 48px; gap: 22px; }
  .hero-stage { height: 520px; margin-top: 40px; }
  .hero-building { width: 900px; bottom: -30px; }

  .cases-grid { grid-template-columns: 1fr; gap: 48px; max-width: 560px; margin: 0 auto; }
  .case-media { height: auto; aspect-ratio: 4 / 4.6; }

  .fan { height: auto; aspect-ratio: 16 / 11; }
  .shot-left, .shot-right { top: 14%; width: 46%; }
  .shot-center { width: 66%; }

  .tour { height: auto; display: flex; flex-direction: column; }
  .tour-viewer { position: relative; height: 68vh; min-height: 420px; max-height: 620px; }
  .tour-card { position: static; transform: none; width: auto; border-radius: 0; padding: 32px 24px 40px; }

  .more-grid, .faq-grid, .custom-grid { grid-template-columns: 1fr; gap: 40px; }
  .more, .pricing, .faq { padding: 96px 0; }
  .custom-grid { padding-top: 96px; padding-bottom: 110px; }
  .web-inner { padding-top: 96px; padding-bottom: 110px; }
  .statement { padding: 100px 0 64px; }
  .cases { padding-bottom: 100px; }
}

/* ---------- Móvil ---------- */
@media (max-width: 640px) {
  .wrap, .wrap-mid, .wrap-narrow { padding-left: 22px; padding-right: 22px; }
  .btn-sm { padding: 11px 16px; font-size: 14px; }
  .hero-badge { font-size: 13px; }
  .hero-ctas { flex-direction: column; width: 100%; gap: 6px; }
  .hero-ctas .btn-green { width: 100%; }

  /* Portada: edificio entero y las notificaciones de una en una, en el
     mismo sitio, como los avisos del móvil. */
  .hero-stage { height: 340px; margin-top: 24px; }
  .hero-building { width: 470px; bottom: -50px; }
  .hero-clouds { height: 190px; }
  .cloud-b1 { width: 130%; left: -45%; bottom: -60%; }
  .cloud-b2 { width: 130%; right: -45%; bottom: -66%; }
  .cloud-b3 { width: 100%; left: 0; bottom: -45%; }
  .cloud-side-l, .cloud-side-r { width: 80%; bottom: 20%; }
  .note, .note-1, .note-2, .note-3, .note-4 {
    left: 16px; right: 16px; top: 0; width: auto; padding: 12px 14px; border-radius: 18px; gap: 10px;
  }
  .note.is-on { opacity: 0; transform: translateY(14px) scale(.96); }
  .note.is-current { opacity: 1; transform: none; }
  .note-3 { justify-content: flex-start; }
  .note-3 strong { font-size: 14px; }
  .note-4 strong { font-size: 17px; }
  .note-icon { width: 34px; height: 34px; }

  .case-chip { font-size: 13px; }
  .fan { aspect-ratio: 16 / 12.5; }
  .shot-center { width: 84%; }
  .shot-left, .shot-right { width: 52%; top: 22%; }
  .shot-bar { height: 22px; padding: 0 8px; gap: 4px; }
  .shot-bar i { width: 6px; height: 6px; }
  .shot-bar span { font-size: 9px; margin-left: 4px; }

  .web-bar { flex-direction: column; border-radius: 24px; padding: 18px; gap: 14px; text-align: center; }
  .web-bar > span { text-align: center; font-size: 15px; }

  .tour-hint { left: 16px; top: 16px; font-size: 13px; padding: 8px 12px; }
  .tour-rooms { left: 16px; right: 16px; bottom: 16px; }
  .tour-rooms button { padding: 9px 13px; font-size: 13px; }
  .tour-card { padding: 32px 22px 40px; }
  .h2-sm { font-size: 30px; }

  .more-list { grid-template-columns: 1fr; }
  .more-list > div, .more-list > div:nth-child(even) { padding: 22px 0; border-left: 0; }

  .plans { grid-template-columns: 1fr; }
  .plan { padding: 28px 22px; border-radius: 26px; }
  .plan-price .amount { font-size: 52px; }

  .custom-price .amount { font-size: 40px; }
  .custom-ctas { flex-direction: column; }
  .custom-ctas .btn { width: 100%; }
  .custom-grid { padding-bottom: 120px; }
  .custom-label { left: 12px; font-size: 13px; padding: 10px 14px; }

  .closing { height: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 24px; padding-top: 56px; padding-bottom: 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .styles-dialog { padding: 16px; border-radius: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .pulse-dot, .pf-hot-circle { animation: none; }
  .note { transition: none; }
  .btn, .browser, .case-media img { transition: none; }
}
