/* ============================================================
   CSS 1. COLORES Y ESTILOS BASE (fuentes, botones, títulos)
 ============================================================ */
:root {
  --gold: #b08d3e; /* dorado principal */
  --gl: #d4af6a; /* dorado claro */
  --ch: #3a3a3a; /* carbón (gris oscuro) */
  --ink: #2e2a22; /* color del texto */
  --gr: #6b6b6b; /* gris de textos secundarios */
  --sl: #5c7080; /* azul grisáceo de estados */
  --cream: #fff; /* fondo general (blanco) */
  --cd: #fbf9f4; /* crema de fondos suaves */
  --card: #fff; /* fondo de tarjetas */
  --bd: #e6dcc6; /* color de bordes */
  --night: #24211c; /* fondo oscuro del timelapse */
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
body {
  background: var(--cream);
  color: var(--ink);
  font:
    400 17px/1.6 Manrope,
    system-ui,
    sans-serif;
}
img {
  max-width: 100%;
}
h1,
h2,
h3 {
  font-family: Playfair Display, Georgia, 'Times New Roman', Times, serif ;
  line-height: 1.08;
  color: var(--ink);
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gl);
  outline-offset: 3px;
}
.w {
  max-width: 1120px;
  margin: auto;
  padding: 0 22px;
}
nav {
  padding: 14px 0;
  border-bottom: 1px solid var(--bd);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}
nav .w {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
nav img {
  height: 54px;
  width: auto;
  display: block;
}
.nl {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nl a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.nl a:hover {
  color: var(--gold);
}
.nl .btn {
  padding: 10px 20px;
  font-size: 14px;
}
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gl), var(--gold));
  color: #2a2111;
  font-weight: 800;
  padding: 15px 28px;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 10px 24px -8px #b08d3e99;
  transition: 0.2s;
  border: 0;
  cursor: pointer;
  font-family: Inter, Segoe UI, Helvetica Neue, Arial, sans-serif;
  font-size: 16px;
}
.btn:hover {
  transform: translateY(-3px);
}
.btn.o {
  background: none;
  border: 2px solid var(--gold);
  color: var(--ink);
  box-shadow: none;
}
.tag {
  display: inline-block;
  background: var(--cd);
  color: var(--gold);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 99px;
}
section {
  padding: 78px 0;
}
.alt {
  background: var(--cd);
}
h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  font-weight: 800;
  margin-bottom: 14px;
}
.lead {
  color: var(--gr);
  max-width: 640px;
  margin-bottom: 38px;
}

/* ============================================================
   CSS 2. INICIO (hero, mockup y notificaciones flotantes)
 ============================================================ */
.hero {
  background: radial-gradient(900px 400px at 85% 0, #d4af6a55, transparent), var(--cream);
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero .w {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  margin: 18px 0;
}
h1 em {
  color: var(--gold);
  font-style: normal;
}
.hero p {
  color: var(--gr);
  font-size: 19px;
  max-width: 520px;
  margin-bottom: 28px;
}
.hero .btn {
  margin: 0 10px 10px 0;
}
.hs {
  display: flex;
  gap: 26px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.hs div {
  font-size: 13px;
  color: var(--gr);
}
.hs strong {
  display: block;
  font:
    800 26px Fraunces,
    serif;
  color: var(--ink);
}
.mockwrap {
  position: relative;
}
.mock {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 20px;
  box-shadow: 0 30px 60px -25px #3a3a3a88;
  overflow: hidden;
  transform: rotate(1.5deg);
}
.mock .bar {
  background: var(--ch);
  padding: 10px 14px;
  display: flex;
  gap: 6px;
}
.bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gl);
}
.mock-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.mb {
  display: grid;
  grid-template-columns: 70px 1fr;
  min-height: 220px;
}
.sd {
  background: var(--cd);
  padding: 14px 10px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.sd b {
  height: 10px;
  border-radius: 5px;
  background: var(--bd);
}
.sd b:first-child {
  background: var(--gold);
}
.mc {
  padding: 16px;
  display: grid;
  gap: 10px;
}
.kp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.kp div {
  background: var(--cd);
  border-radius: 10px;
  padding: 8px;
  font-size: 12px;
  color: var(--gr);
}
.kp strong {
  display: block;
  font-size: 20px;
  color: var(--ink);
  font-family: Inter, Segoe UI, Helvetica Neue, Arial, sans-serif;
}
.row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--bd);
}
.row span:last-child {
  color: var(--sl);
  font-weight: 800;
}
.float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 13px;
  box-shadow: 0 18px 30px -18px #3a3a3a88;
  display: flex;
  gap: 10px;
  align-items: center;
  animation: bob 5s ease-in-out infinite;
}
.float b {
  display: block;
  font-size: 14px;
}
.float small {
  color: var(--gr);
}
.float .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--cd);
  font-size: 18px;
}
.f1 {
  left: -34px;
  top: -30px;
}
.f2 {
  right: -18px;
  bottom: 30px;
  animation-delay: -2.5s;
}
@keyframes bob {
  50% {
    transform: translateY(-8px);
  }
}

/* ============================================================
   CSS 3. HECHO POR APRENDICES + EQUIPO (collage y fotos)
 ============================================================ */
.why {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.collage {
  position: relative;
  height: 420px;
}
.collage img {
  position: absolute;
  object-fit: cover;
  border-radius: 22px;
  border: 6px solid #fff;
  box-shadow: 0 24px 40px -24px #3a3a3a99;
}
.collage .a {
  width: 62%;
  height: 62%;
  left: 0;
  top: 0;
}
.collage .b {
  width: 55%;
  height: 52%;
  right: 0;
  top: 22%;
}
.collage .c2 {
  width: 48%;
  height: 42%;
  left: 14%;
  bottom: 0;
}
.collage .seal {
  position: absolute;
  right: 6%;
  bottom: 4%;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--ch);
  color: var(--gl);
  display: grid;
  place-items: center;
  text-align: center;
  font:
    800 14px/1.2 Fraunces,
    serif;
  padding: 14px;
  animation: spin 18s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.why .lead {
  margin-bottom: 14px;
}
.tm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.m {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--cd);
  border: 1px solid var(--bd);
  border-radius: 14px;
  padding: 12px;
}
.av {
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gl);
  background: var(--cd);
}
.m h3 {
  font:
    800 14px/1.2 Manrope,
    sans-serif;
}
.m p {
  font-size: 12.5px;
  color: var(--gr);
}

/* ============================================================
   CSS 4. TIMELAPSE "UN DÍA EN TU ÓPTICA"
 ============================================================ */
.tl {
  background: var(--night);
  color: #efe8d8;
  position: relative;
  overflow: hidden;
}
.tl:before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 360px at 90% 10%, #b08d3e33, transparent),
    radial-gradient(500px 300px at 0 100%, #5c708033, transparent);
}
.tl .w {
  position: relative;
}
.tl h2 {
  color: #fff;
}
.tl .lead {
  color: #c9c0ac;
  margin-bottom: 30px;
}
.tl .tag {
  background: #ffffff14;
  color: var(--gl);
}
.tlg {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: center;
}
.clock {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.clock .t {
  font:
    800 clamp(56px, 8vw, 96px)/1 Fraunces,
    serif;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.clock .ap {
  color: var(--gl);
  font-weight: 800;
}
.msg {
  min-height: 58px;
  font-size: 20px;
  color: #efe8d8;
  margin: 12px 0 22px;
  font-weight: 600;
}
.track {
  position: relative;
  margin: 10px 0 24px;
}
.rail {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 22px;
  height: 3px;
  background: #ffffff22;
  border-radius: 2px;
}
.fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gl), var(--gold));
  border-radius: 2px;
}
.nodes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
}
.node {
  background: none;
  border: 0;
  color: #a89f8b;
  cursor: pointer;
  font:
    700 12.5px Manrope,
    sans-serif;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0;
}
.node span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 19px;
  background: #2f2b25;
  border: 2px solid #ffffff22;
  transition: 0.35s;
}
.node.on {
  color: #fff;
}
.node.on span {
  background: var(--gold);
  border-color: var(--gl);
  box-shadow: 0 0 0 6px #b08d3e33;
}
.node.now span {
  transform: scale(1.18);
}
.ctr {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.ctr .btn {
  padding: 12px 22px;
  font-size: 15px;
}
.ctr .btn.o {
  color: #fff;
}
.scene {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 70px -30px #000;
  border: 1px solid #ffffff1f;
  background: linear-gradient(160deg, #3a342b, #221f1a);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.scene.foto {
  min-height: 380px;
  justify-content: space-between;
}
.scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 0.8s,
    transform 6s linear;
}
.scene img.on {
  opacity: 1;
  transform: scale(1);
}
.scene.foto:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1c191433, #1c1914e6);
  pointer-events: none;
}
.scene > .notif,
.scene > .kpis {
  z-index: 2;
}
.notif {
  position: relative;
  z-index: 2;
  background: #fffffff0;
  color: var(--ink);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 14px 30px -12px #0008;
  transition: 0.45s;
}
.notif.out {
  opacity: 0;
  transform: translateY(-14px);
}
.notif .ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--cd);
  display: grid;
  place-items: center;
  font-size: 20px;
}
.notif b {
  display: block;
  font-size: 14px;
}
.notif small {
  color: var(--gr);
  font-size: 13px;
}
.kpis {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kpis div {
  background: #ffffff14;
  backdrop-filter: blur(6px);
  border: 1px solid #ffffff26;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12px;
  color: #d9d2c0;
}
.kpis strong {
  display: block;
  font:
    800 24px Fraunces,
    serif;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   CSS 5. MÓDULOS CON PORTÁTIL (pantalla que cambia al bajar)
 ============================================================ */
.mods {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.mlist {
  padding: 4vh 0 10vh;
}
.mod {
  padding: 22px 0 22px 22px;
  border-left: 3px solid var(--bd);
  opacity: 0.42;
  transition: 0.4s;
}
.mod.on {
  opacity: 1;
  border-color: var(--gold);
}
.mod .e {
  font-size: 24px;
}
.mod h3 {
  font-size: 24px;
  margin: 4px 0 4px;
}
.mod p {
  color: var(--gr);
  font-size: 15px;
}
.mod p b {
  color: var(--ch);
}
.mod ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}
.mod li {
  font-size: 14.5px;
  padding: 3px 0 3px 24px;
  position: relative;
  color: var(--ch);
}
.mod li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}
.stick {
  position: sticky;
  top: 110px;
}
.laptop {
  position: relative;
}
.lscreen {
  background: #fff;
  border: 10px solid var(--ch);
  border-bottom-width: 14px;
  border-radius: 18px 18px 6px 6px;
  overflow: hidden;
  box-shadow: 0 40px 60px -30px #3a3a3a99;
}
.lbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--cd);
  border-bottom: 1px solid var(--bd);
}
.lbar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bd);
}
.lbar i:first-child {
  background: var(--gold);
}
.url {
  margin-left: 10px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--bd);
  border-radius: 99px;
  font-size: 12px;
  color: var(--gr);
  padding: 3px 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lbody {
  display: grid;
  grid-template-columns: 54px 1fr;
  height: 320px;
}
.lside {
  background: var(--ch);
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px 8px;
}
.lside span {
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 16px;
  opacity: 0.4;
  transition: 0.3s;
}
.lside span.on {
  background: var(--gold);
  opacity: 1;
}
.lmain {
  padding: 16px;
  overflow: hidden;
  position: relative;
}
.lmain > div {
  transition:
    opacity 0.3s,
    transform 0.3s;
}
.lmain .fade {
  opacity: 0;
  transform: translateY(10px);
}
.lbase {
  height: 16px;
  margin: 0 -7%;
  background: linear-gradient(#d5d0c5, #b9b3a6);
  border-radius: 0 0 18px 18px;
}
.bubble {
  position: absolute;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #fff;
  right: -26px;
  top: -38px;
  box-shadow: 0 20px 30px -16px #3a3a3a99;
  z-index: 2;
}
.bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s;
}
.sh {
  font:
    800 18px Fraunces,
    serif;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sh small {
  font: 700 12px Manrope;
  color: var(--gold);
  background: var(--cd);
  padding: 3px 10px;
  border-radius: 99px;
}
.cal {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 5px;
  font-size: 11px;
}
.cal b {
  color: var(--gr);
  text-align: center;
  font-weight: 700;
}
.cal i {
  height: 34px;
  border-radius: 7px;
  background: var(--cd);
  font-style: normal;
  padding: 3px 5px;
  color: #2a2111;
  font-weight: 700;
}
.cal i.k {
  background: var(--gl);
}
.cal i.d {
  background: var(--gold);
  color: #fff;
}
.li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 8px 10px;
  border: 1px solid var(--bd);
  border-radius: 10px;
  margin-bottom: 6px;
}
.li em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 99px;
  background: #eef3e6;
  color: #3b6d11;
}
.li em.w {
  background: #faeeda;
  color: #854f0b;
}
.li em.r {
  background: #fcebeb;
  color: #a32d2d;
}
.rx {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 10px;
}
.rx th,
.rx td {
  border: 1px solid var(--bd);
  padding: 6px;
  text-align: center;
}
.rx th {
  background: var(--cd);
  font-size: 11.5px;
  color: var(--gr);
}
.pbar {
  margin-bottom: 9px;
  font-size: 12.5px;
}
.pbar div {
  height: 8px;
  border-radius: 4px;
  background: var(--cd);
  margin-top: 3px;
  overflow: hidden;
}
.pbar div i {
  display: block;
  height: 100%;
  background: var(--gold);
  border-radius: 4px;
}
.pbar.low div i {
  background: #d85a30;
}
.prods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.prods div {
  border: 1px solid var(--bd);
  border-radius: 10px;
  overflow: hidden;
  font-size: 12px;
}
.prods img {
  height: 74px;
  width: 100%;
  object-fit: cover;
  display: block;
}
.prods p {
  padding: 6px 8px;
}
.prods b {
  display: block;
  color: var(--gold);
}
.ship {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 18px 4px 16px;
}
.ship:before {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  top: 11px;
  height: 3px;
  background: var(--bd);
}
.ship:after {
  content: '';
  position: absolute;
  left: 10px;
  width: 62%;
  top: 11px;
  height: 3px;
  background: var(--gold);
}
.ship span {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--gr);
}
.ship span:before {
  content: '';
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bd);
  border: 4px solid #fff;
}
.ship span.on:before {
  background: var(--gold);
}
.bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 110px;
  margin-top: 10px;
}
.bars i {
  flex: 1;
  background: var(--gl);
  border-radius: 6px 6px 0 0;
}
.bars i:last-child {
  background: var(--gold);
}
.kk {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.kk div {
  background: var(--cd);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 11.5px;
  color: var(--gr);
}
.kk strong {
  display: block;
  font:
    800 20px Fraunces,
    serif;
  color: var(--ink);
}
.srch {
  border: 1px solid var(--bd);
  border-radius: 99px;
  padding: 7px 14px;
  font-size: 12.5px;
  color: var(--gr);
  margin-bottom: 10px;
}

/* ============================================================
   CSS 6. PERFILES POR ROL
 ============================================================ */
.pf {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.rc {
  border-radius: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--bd);
  transition: 0.25s;
}
.rc:nth-child(odd) {
  background: var(--ch);
  border-color: var(--ch);
}
.rc:nth-child(odd) h3 {
  color: var(--gl);
}
.rc:nth-child(odd) p {
  color: #d9d2c0;
}
.rc:hover {
  transform: translateY(-4px);
}
.rc .e {
  font-size: 24px;
}
.rc h3 {
  font-size: 19px;
  margin: 6px 0 4px;
}
.rc p {
  font-size: 14px;
  color: var(--gr);
}

/* ============================================================
   CSS 7. PLANES Y LLAMADO FINAL
 ============================================================ */
.pl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.p {
  background: var(--card);
  border: 2px solid var(--bd);
  border-radius: 20px;
  padding: 26px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.p.f {
  border-color: var(--gold);
  box-shadow: 0 20px 40px -20px #b08d3e;
}
.p h3 {
  font-size: 20px;
}
.p .sb {
  color: var(--gr);
  font-size: 14px;
}
.p .pr {
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--gold);
  margin: 10px 0;
}
.p .pr small {
  font: 600 14px Manrope;
  color: var(--gr);
}
.p .bl {
  font-size: 13px;
  color: var(--gr);
  margin-bottom: 14px;
}
.p .it {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--gold);
  padding-top: 14px;
  border-top: 1px solid var(--bd);
}
.p ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 18px;
  flex: 1;
}
.p li {
  font-size: 14px;
  padding: 3px 0 3px 22px;
  position: relative;
  color: var(--ch);
}
.p li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 800;
}
.p .btn {
  text-align: center;
}
.bdg {
  position: absolute;
  top: -13px;
  right: 18px;
  background: var(--ch);
  color: var(--gl);
  font: 800 12px Manrope;
  padding: 5px 12px;
  border-radius: 99px;
}
.note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--gr);
}

.cta {
  background: linear-gradient(135deg, #3a3a3a, #2e2a22);
  text-align: center;
  color: #fff;
}
.cta h2 {
  color: #fff;
}
.cta p {
  color: #d9d2c0;
  margin-bottom: 26px;
}

/* ============================================================
   CSS 8. CINTA DE FOTOS QUE SE DESLIZA
 ============================================================ */
.strip {
  overflow: hidden;
  padding: 6px 0;
  background: var(--cd);
  border-top: 1px solid var(--bd);
  border-bottom: 1px solid var(--bd);
}
.strack {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: slide 60s linear infinite;
}
.strack img {
  width: 210px;
  height: 140px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.strack img:nth-child(odd) {
  border-radius: 70px 14px;
}
.strip:hover .strack {
  animation-play-state: paused;
}
@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}
/* ============================================================
   CSS 9. FOOTER (logo, horario, contacto y redes)
 ============================================================ */
/* Botones de redes sociales */
.social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}
.social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: 0.25s;
}
.social a:hover {
  transform: translateY(-4px) scale(1.06);
  border-color: transparent;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.5);
}
.social .ig:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.social .fb:hover {
  background: #1877f2;
}
.social .wa:hover {
  background: #25d366;
}
.social .tt:hover {
  background: #111;
  box-shadow:
    -3px 0 0 #25f4ee,
    3px 0 0 #fe2c55;
}
footer {
  background: linear-gradient(100deg, #2b2b2b 0%, #5e4c25 50%, #a48133 100%);
  color: #fff;
  padding: 45px 0 0;
  font-size: 15px;
}
footer .w {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 35px;
  align-items: start;
}
footer h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 12px;
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
}
.logo-box {
  background: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  display: inline-block;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}
.logo-box img {
  height: 64px;
  width: auto;
  display: block;
}
.footer-tagline,
.footer-info {
  color: #fff;
  font-size: 14.5px;
}
.footer-tagline {
  line-height: 1.5;
  max-width: 320px;
}
.footer-info {
  line-height: 1.8;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 35px;
  padding: 18px 0;
  text-align: center;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.15);
}

/* ============================================================
   CSS 10. CELULAR Y TABLET (responsive)
 ============================================================ */
@media (max-width: 1000px) {
  .pl {
    grid-template-columns: repeat(2, 1fr);
  }
  .pf {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .hero .w,
  footer .w,
  .why,
  .tlg {
    grid-template-columns: 1fr;
  }
  .mock {
    transform: none;
  }
  .f1 {
    left: -8px;
  }
  .f2 {
    right: -4px;
  }
  .nl a:not(.btn) {
    display: none;
  }
  .collage {
    height: 320px;
  }
  .mods {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .stick {
    top: 76px;
    z-index: 5;
    order: -1;
    background: var(--cream);
    padding: 10px 0 8px;
  }
  .lbody {
    height: 210px;
  }
  .lmain {
    padding: 10px;
  }
  .bubble {
    width: 76px;
    height: 76px;
    right: -6px;
    top: -20px;
    border-width: 4px;
  }
  .mod {
    padding: 16px 0 16px 18px;
  }
}
@media (max-width: 700px) {
  .tm {
    grid-template-columns: 1fr;
  }
  .pf {
    grid-template-columns: 1fr 1fr;
  }
  .node {
    font-size: 10.5px;
  }
  .node span {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .rail {
    top: 18px;
  }
  .kpis strong {
    font-size: 19px;
  }
}
@media (max-width: 600px) {
  .pl {
    grid-template-columns: 1fr;
  }
  section {
    padding: 56px 0;
  }
  .f1,
  .f2 {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* Botón "Volver al inicio" (regresa al portafolio con todos los proyectos).
   Se mantiene visible en celular, donde los demás enlaces del menú se ocultan. */
nav .nl a.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1.5px solid var(--bd);
  border-radius: 99px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
nav .nl a.back-home:hover {
  background: var(--cd);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateX(-2px);
}
nav .nl a.back-home .t-short { display: none; }
@media (max-width: 600px) {
  nav .nl { gap: 10px; }
  nav .nl a.back-home .t-long { display: none; }
  nav .nl a.back-home .t-short { display: inline; }
  nav .nl a.back-home { padding: 9px 14px; }
  nav .nl .btn { white-space: nowrap; padding: 9px 14px; }
}
